import Vue from 'vue'
import App from './App.vue'
import router from './router/index'
import store from "./store/index.js"
import cfg from './config/config'


//引入公共组件
import iView from 'iview'
import 'iview/dist/styles/iview.css'
Vue.use(iView)

Vue.config.productionTip = false

//请求工具
import http from './utils/axios'
Vue.prototype.$http = http
Vue.prototype.$cfg = cfg

//引入全局工具
import utils from './utils'
Vue.prototype.$utils = utils

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
